﻿@model List<KRM.Core.vKRMRSDisputeApproval>
@{
    ViewBag.Title = "View Incomplete RDM";
    Layout = "~/Views/Shared/_PopupLayout.cshtml";
}

<div style="padding: 20px;">
    <table class="table table-hover table-bordered table-fix">
        <thead>
            <tr>
                <th>View</th>
                <th>OrderReference</th>
                <th>OrderItems</th>
                <th>ItemsUnderRDM</th>
                <th>Reason</th>
                <th>PreferResolution</th>
                <th>DisputeID</th>
                <th>LiabilityID</th>
                <th>DisputeItems</th>
                <th>Description</th>
                <th>SingatureID</th>
                <th>PackagingID</th>
                <th>ConsignmentNumber</th>
                <th>ResolutionID</th>
                <th>CollectionFeeRequired</th>
                <th>CollectionFee</th>
                <th>ReasonID</th>
                <th>UserPlacedBy</th>
                <th>ActionDetails</th>
                <th>ActionID</th>
                <th>OrderItemID</th>
                <th>DatePlaced</th>
                <th>ApprovedCollectionItems</th>
                <th>ApprovedReplacementItems</th>
                <th>DisputeReplacementItems</th>
                <th>PreferredCollectionDate</th>
                <th>DisputeStatusID</th>
                <th>ProductOption</th>
                <th>PlacedBy</th>
                <th>Urgent</th>
                <th>CustomerEmailAddress</th>
                <th>CustomerName</th>
                <th>ReasonDetailID</th>
                <th>Postcode</th>
            </tr>
        </thead>
        <tbody>
            @foreach (var item in Model)
            {
                <tr>
                    <td><a href="javascript:;" onclick="Popup('/rdm/viewrdm/@item.DisputeID', 1357, 670)">View RDM</a></td>
                    <td>@item.Order_Reference</td>
                    <td>@item.Order_Items</td>
                    <td>@item.Items_Under_RDM</td>
                    <td>@item.Reason</td>
                    <td>@item.Preferred_Resolution</td>
                    <td>@item.DisputeID</td>
                    <td>@item.LiabilityID</td>
                    <td>@item.DisputeItems</td>
                    <td>@item.Description</td>
                    <td>@item.SignatureID</td>
                    <td>@item.PackagingID</td>
                    <td>@item.ConsignmentNumber</td>
                    <td>@item.ResolutionID</td>
                    <td>@item.CollectionFeeRequired</td>
                    <td>@item.CollectionFee</td>
                    <td>@item.ReasonID</td>
                    <td>@item.UserPlacedBy</td>
                    <td>@item.ActionDetails</td>
                    <td>@item.ActionID</td>
                    <td>@item.OrderItemID</td>
                    <td>@item.DatePlaced</td>
                    <td>@item.ApprovedCollectionItems</td>
                    <td>@item.ApprovedReplacementItems</td>
                    <td>@item.DisputeReplacementItems</td>
                    <td>@item.PreferredCollectionDate</td>
                    <td>@item.DisputeStatusID</td>
                    <td>@item.ProductOption</td>
                    <td>@item.Placed_By</td>
                    <td>@item.Urgent</td>
                    <td>@item.CustomerEmailAddress</td>
                    <td>@item.CustomerName</td>
                    <td>@item.ReasonDetailID</td>
                    <td>@item.Postcode</td>
                </tr>
            }
        </tbody>
    </table>
</div>